package com.zan.pattern.adapter.class_adapter;

/**
 * @Author Zan
 * @Create 2024/4/25 21:19
 * @Description : 适配者类
 * @ClassName: TFCardImpl
 */
public class TFCardImpl implements TFCard {

    @Override
    public String readTF() {
        String msg = "TFCard read msg : Hello World TFCard";
        return msg;
    }

    @Override
    public void writeTF(String msg) {
        System.out.println("TFCard write msg : " + msg);
    }
}
